(Info-dir-remove-duplicates): Avoid infloop when
authorJohn Paul Wallington <jpw@pobox.com>
Wed, 18 Dec 2002 05:16:09 +0000 (05:16 +0000)
committerJohn Paul Wallington <jpw@pobox.com>
Wed, 18 Dec 2002 05:16:09 +0000 (05:16 +0000)
deleting last entry.

lisp/ChangeLog
lisp/info.el

index 75944ca45ac31afc5fb2b8a7c447c0cb64587d3a..72c4a7a76476f89fe5c66e814f736fb5480c5009 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-18  John Paul Wallington  <jpw@shootybangbang.com>
+
+       * info.el (Info-dir-remove-duplicates): Avoid infloop when
+       deleting last entry.
+
 2002-12-17  Nick Roberts  <nick@nick.uklinux.net>
 
        * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and
index 53630bce3a3f03a25a7e414d2706de088c9b20d5..05a56ef1c92db232f48f708d7576841175e1331b 100644 (file)
@@ -967,7 +967,7 @@ a case-insensitive match is tried."
                (if (member-ignore-case x seen)
                    (delete-region (match-beginning 0)
                                   (progn (re-search-forward "^[^ \t]" nil t)
-                                         (goto-char (match-beginning 0))))
+                                         (match-beginning 0)))
                  (push x seen))))))))))
 
 ;; Note that on entry to this function the current-buffer must be the